;Assembler header file for Debugger
;written by DefMod (Dec 31 2005) on Sat Dec 31 14:03:52 2005
;Jonathan Coxhead, jonathan@doves.demon.co.uk, 29 June 1995

        [       :LNOT: :DEF: Debugger_Hdr
        GBLS    Debugger_Hdr

        [       :LNOT: :DEF: Get_Types
        GBLS    Get_Types
        ]
        [       :LNOT: :DEF: Types_Hdr
Get_Types                       SETS    "GET oslib/Types.Hdr"
        |
Get_Types                       SETS    ""
        ]
        $Get_Types

        [       :LNOT: :DEF: Get_OS
        GBLS    Get_OS
        ]
        [       :LNOT: :DEF: OS_Hdr
Get_OS                          SETS    "GET oslib/OS.Hdr"
        |
Get_OS                          SETS    ""
        ]
        $Get_OS

;Symbols for constants
Error_DebugBreakNotFound        *       &800
Error_DebugInvalidValue         *       &801
Error_DebugResetting            *       &802
Error_DebugNoRoom               *       &803
Error_DebugNoBreakpoints        *       &804
Error_DebugBadBreakpoint        *       &805
Error_DebugUndefined            *       &806
Error_DebugNonAligned           *       &807
Error_DebugNoWorkspace          *       &808

;Symbols for SWI's and SWI reason codes
XDebugger_Disassemble           *       &60380
Debugger_Disassemble            *       &40380
   ;Entry
   ;  R0 = instruction (Int)
   ;  R1 = address (pointer to Int)
   ;Exit
   ;  R1 -> disassembly (String)
   ;  R2 = used (Int)

XDebugger_DisassembleThumb      *       &60381
Debugger_DisassembleThumb       *       &40381
   ;Entry
   ;  R0 = instruction (Int)
   ;  R1 = address (pointer to Int)
   ;Exit
   ;  R1 -> disassembly (String)
   ;  R2 = used (Int)

        ]
        END
